import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import '@ant-design/v5-patch-for-react-19';
import './index.scss'
import 'antd/dist/reset.css';  // 必须引入的全局样式[3,4](@ref)
import { Provider } from 'react-redux'
import store from './store'

//传router实例
import { RouterProvider } from 'react-router-dom';
import router from './router/index.jsx';


createRoot(document.getElementById('root')).render(
  <StrictMode>
    <Provider store={store} >
      <RouterProvider router={router} />
    </Provider>

  </StrictMode>,
)
